package com.yinanxi.test;

import org.apache.commons.lang.time.FastDateFormat;

/**
 * @Created by Orion
 * @Description
 * 测试  将时间戳转换成 日期字符串
 */
public class Demo01 {
    public static void main(String[] args) {
        long  ts = 1652154631125l ;
        FastDateFormat format = FastDateFormat.getInstance("yyyy-MM-dd");
        String str = format.format(ts);
        System.out.println(str);
    }
}
